<?php
/*
 * @Author: 李诗韵 11366530+li-shiyun-shihan@user.noreply.gitee.com
 * @Date: 2022-08-17 20:31:42
 * @LastEditors: 李诗韵 11366530+li-shiyun-shihan@user.noreply.gitee.com
 * @LastEditTime: 2022-08-17 20:57:42
 * @FilePath: \前端开发c:\phpStudy\WWW\item\lin\server\orderDelete.php
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
    header("content-type:text/html;charset=utf-8");
    $did = $_GET["did"];
    $conn = mysql_connect("localhost","root","root");
    $com =  mysql_select_db("library");
    $sql = "delete from orderinfo where did = ${did}";
    $res = mysql_query($sql);
    print_r("删除成功");
?>